package com.fengjue.service;

import com.fengjue.common.RespBean;
import com.fengjue.common.RespPageBean;
import com.fengjue.pojo.Employee;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fengjue
 * @since 2021-03-10
 */
public interface IEmployeeService extends IService<Employee> {

    /**
     * 添加员工
     * @param employee
     * @return
     */
    RespBean addEmp(Employee employee);

    RespPageBean getEmployeeWithSalary(Integer currentPage, Integer size);
}
